package org.example.domain.model.entity.user.mapstruct;

import org.example.domain.model.entity.user.req.UserRegisterReq;
import org.example.domain.model.entity.user.req.UserUpdateReq;
import org.example.domain.model.entity.user.resp.UserMessageResp;
import org.example.domain.system.model.UserAccount;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface UserAccountMapstruct {

    UserAccountMapstruct INSTANCE = Mappers.getMapper(UserAccountMapstruct.class);

    UserMessageResp userAccountToUserMessageResp(UserAccount userAccount);

    UserAccount userRegisterReqToUserAccount(UserRegisterReq userRegisterReq);

    UserAccount userUpdateReqToUserAccount(UserUpdateReq userUpdateReq);


}
